package v1

import (
	"video-api/internal/model/input"

	"github.com/gogf/gf/v2/frame/g"
)

type LangSwitchReq struct {
	g.Meta `path:"/lang_switch" method:"post" summary:"多语言翻译" tags:"国际化多语言"`
	input.LangSwitch
}

type LangSwitchRes struct {
	Info string `json:"info"`
}

type WriteLangReq struct {
	g.Meta    `path:"/lang_write" method:"post" summary:"多语言编辑" tags:"国际化多语言"`
	Content   []LangReq `json:"content"`
	Timestamp string    `json:"timestamp"`
	Signature string    `json:"signature"`
}

type LangReq struct {
	Lang    string            `json:"lang"`
	Content map[string]string `json:"content"`
}
